package com.atguigu.guli.service.trade.feign;

import com.atguigu.guli.service.base.dto.MemberDto;
import com.atguigu.guli.service.trade.feign.fallback.UcenterServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-ucenter",fallback = UcenterServiceFallback.class)
public interface UcenterService {

    @GetMapping("/api/ucenter/member/inner/get-member-dto/{memberId}")
     MemberDto getMemberDtoByMemberId(@PathVariable String memberId);

}
